'use strict';

require.config({
   waitSeconds: 20,
   baseUrl: './libs/requirejs',
   paths : {
      'backbone'     : '../backbone/backbone-1.1.2.min',
      'underscore'   : '../underscore/underscore',
      'marionette'   : '../marionette/marionette-2.1.0.min',
      
      'jquery'       : '../jquery/jquery-2.1.1.min',
      'jqueryui'     : '../jquery-ui/jquery-ui-1.11.0.min',
      
      'bootstrap'    : '../bootstrap/js/bootstrap-3.2.0.min',
      'nicescroll'   : '../jquery.nicescroll/jquery.nicescroll.min',
      
      'modules'      : '../../application/modules'
   },
   shim : {
      'jquery'       : { deps: [], exports: 'jQuery' },
      'jqueryui'     : { deps: ['jquery'] },
      
      'underscore'   : { deps: [], exports: '_' },
      'backbone'     : { deps: ['jquery', 'underscore'], exports: 'Backbone' },
      'marionette'   : { deps: ['backbone'], exports: 'Marionette' },
      
      'bootstrap'    : { deps: ['jquery'] },
      'nicescroll'   : { deps: ['jquery'] }
  }
})